package com.test.ch05;

public class Person {
    private String name;
    private int age;
    public Person()
    {

    }
    public Person(String name,int age)
    {
        this.name=name;
        this.age=age;
    }
    public Person(String name)
    {
        this(name,0);
    }
    public void show()
    {
        System.out.println("name:"+name+"age"+age);
    }


    protected void print2() {
    }

    protected void print1() {
    }
}
